<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_id" data-rule="required" data-source="user/user/index" data-field="nickname" class="form-control selectpage" name="row[user_id]" type="text" value="{$row.user_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('School_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-school_name" data-rule="required" class="form-control" name="row[school_name]" type="text" value="{$row.school_name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('First_term_start')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-first_term_start" data-rule="required" class="form-control" name="row[first_term_start]" type="text" value="{$row.first_term_start|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Second_term_start')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-second_term_start" data-rule="required" class="form-control" name="row[second_term_start]" type="text" value="{$row.second_term_start|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Summer_start')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-summer_start" data-rule="required" class="form-control" name="row[summer_start]" type="text" value="{$row.summer_start|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Summer_hours')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-summer_hours" data-rule="required" class="form-control" name="row[summer_hours]" type="text" value="{$row.summer_hours|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Winter_start')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-winter_start" data-rule="required" class="form-control" name="row[winter_start]" type="text" value="{$row.winter_start|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Winter_hours')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-winter_hours" data-rule="required" class="form-control" name="row[winter_hours]" type="text" value="{$row.winter_hours|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Appid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-appid" data-rule="required" class="form-control" name="row[appid]" type="number" value="{$row.appid|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Appsecret')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-appsecret" data-rule="required" class="form-control" name="row[appsecret]" type="text" value="{$row.appsecret|htmlentities}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
